/***
 * @Description: getters
 * @Author: zhailei
 * @Date: 2021-06-02 13:38:09
 * @LastEditTime: 2021-09-15 09:58:22
 *
 * @FilePath: \vite-demoe:\wwwroot\Vue\\-cloud-vue\src\store\getters.js
 */
const getters = {
  device: (state) => state.app.device,
  theme: (state) => state.app.theme,
  animate: (state) => state.app.animate,
  palettes: (state) => state.app.palettes,
  color: (state) => state.app.color,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  nickname: (state) => state.user.name,
  welcome: (state) => state.user.welcome,
  roles: (state) => state.user.roles,
  dataPermissions: (state) => state.user.dataPermissions,
  userInfo: (state) => state.user.info,
  addRouters: (state) => state.permission.addRouters,
  menuData: (state) => state.permission.menuData,
  multiTab: (state) => state.app.multiTab,
  lang: (state) => state.app.lang,
  configData: (state) => state.user.configData,
  wpsUrl: (state) => state.other.wpsUrl,
  isLock: (state) => state.app.isLock,
  lockPasswd: (state) => state.app.lockPasswd,
  RESystemReady: (state) => state.user.RESystemReady,
  RESystemRenderReady: (state) => state.user.RESystemRenderReady,
  ///////////////////////////////////////////////////////////////
  blackHoleAssetsPreFetch: (state) => state.user.BLACKhOLE_ASSETS_PREFETCH,
  blackHoleRESystemReady: (state) => state.user.BLACKhOLE_RE_SYSTEM_READY,
  blackHoleRESystemCreated: (state) => state.user.BLACKhOLE_RE_SYSTEM_CREATED,
  blackHoleReleaseEngine: (state) => state.user.BLACKhOLE_RELEASE_ENGINE,
  ///////
  currentProjectCode: (state) => state.user.CURRENT_PROJECT_CODE,
  currentProject: (state) => state.user.CURRENT_PROJECT,
  tenantData: (state) => state.user.TENANT_DATA,
  activeMenu: (state) => state.user.ACTIVE_MENU,
  userAccount: (state) => state.user.USER_ACCOUNT,
};

export default getters;
